﻿@{
    Layout = null;
}
@using WH.NurseSys.Model;
<!DOCTYPE html>

<html>
<head>
    <title>移动护理</title>
    <style type="text/css">
        *{padding:0;margin:0;font-family:微软雅黑;}
        .nav_container{height:64px;background-color:#19A97B;color:#fff;font-size:16px;line-height:64px;padding-left:30px;}
        .container{width:1200px;margin:20px auto;}
        .container_left{float:left;padding-left:90px;}
        .container_left img{border:0px solid #ccc;}
        #login{float:right;width:334px;border:1px solid #A0B1C4;border-radius:5px;margin-top:30px;}
        .header{height:51px;font-size:18px;color:#333;text-align:center;line-height:51px;border-bottom:1px solid #C0CDD9;background-color:#F9FBFE;}
        .tips{height:32px;line-height:32px;padding-left:20px;padding-right:20px;}
        .username,.password{padding:0 20px;}
        .username div,.password div{padding:5px;}
        input[type="text"],input[type="password"]{width:294px;height:35px;margin:5px 0 5px 0;font-size:16px;line-height:35px;}
        input[type="checkbox"]{margin:10px 20px;}
        input[type="submit"]{background-color:#19A97B;margin:10px 0;width:294px;height:40px;color:#fff;font-size:16px;border:0;border-radius:4px;}
        input[type="submit"]:hover{background-color:#12976D;}
        select{height:35px;line-height:35px;font-size:16px;padding-left:15px;padding-right:15px;}
        .regist{margin:30px 20px 20px 20px;}
        .regist a{color:#666;text-decoration:none;}
        .regist a:hover{color:#12976D;text-decoration:underline;}
        a{color:#666;text-decoration:none;margin:20px 20px 20px 100px;}
        a:hover{color:#12976D;text-decoration:underline;}
    </style>
</head>
<body>
    <div class="nav_container">移动护理系统</div>
    <div>
        <div class="tips">@ViewBag.Tips</div>
        <form action="/doctor/insert" method="post">
            <table>
                <tr>
                    <td>用户名(手机号)</td>
                    <td><input type="text" name="username" /></td>
                </tr>
                <tr>
                    <td>昵称</td>
                    <td><input type="text" name="nickname" /></td>
                </tr>
                <tr>
                    <td>密码</td>
                    <td><input type="password" name="password1" /></td>
                </tr>
                <tr>
                    <td>重复密码</td>
                    <td><input type="password" name="password2" /></td>
                </tr>
                <tr>
                    <td>科室</td>
                    <td>
                        <select name="deptId">
                            @{
                                List<Dept> deptList = ViewBag.DeptList as List<Dept>;
                                foreach(Dept dept in deptList)
                                {
                                    <option value="@dept.Id">@dept.Name</option>
                                }
                            }
                        </select>
                    </td>
                </tr>
                <tr>
                    <td></td>
                    <td><input type="submit" value="注册" /></td>
                </tr>
            </table>
        </form>
        <div><a href="/">返回</a></div>
    </div>
</body>
</html>
